﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.DtoModel.SystemSetup.InstitutionSetting.PeopleManagement;
using SystemCenterSoa.IRepository.SystemSetup.InstitutionSetting.PeopleManagement;
using SystemCenterSoa.PoModel.SystemSettings.InstituTions;
using SystemCenterSoa.PoModel.SystemSetup.InstitutionSetting.PeopleManagement;

namespace SystemCenterSoa.Service.SystemSetup.InstitutionSetting.PeopleManagement
{
    public class PeopleService
    {
        private IPeople _people;
        public PeopleService(IPeople people)
        {
            _people = people;
        }
        public PagerResult<PeopleDto> SearchPage(SearchModel searchModel)
        {
            return _people.SearchPage(searchModel);
        }
        public bool PostPeoAdd(PeoplePo m)
        {
            return _people.PostPeoAdd(m);
        }
        public bool PostPenDeletes(string strarr)
        {
            return _people.PostPenDeletes(strarr);
        }
        public List<DepartmentOfManagementPo> BinddepartmentSuperiorPos()
        {
            return _people.BinddepartmentSuperiorPos();
        }
    }
}
